package top.infopub.mgr.bpa.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import top.infopub.generic.GenericService;
import top.infopub.mgr.bpa.domain.InnerAgrtDetailAndSubDomain;
import top.infopub.model.bpa.InnerAgrtDetail;

public interface InnerAgrtDetailService extends GenericService<InnerAgrtDetail, String> {
 
    /**
     * 根据项目编号查询所有内部协议清单分解子项费用明细信息
     */
    List<InnerAgrtDetail> selectInnerAgrtDetailByInnerAgrtId(String innerAgrtId);
    
    /**
     * 根据内部协议ID查询所有内部协议清单分解子项信息
     */
    List<InnerAgrtDetailAndSubDomain> selectByInnerAgrtId(String innerAgrtId);
    
    /**
     * 查询项目【内部协议】子项对应{对内下浮率}，不存在则返回null
     * @param where proCode subName
     * @return 
     * @see
     */
    BigDecimal selectRateFromInnerAgrt(Map<String, Object> where);
    
}